const fs = require('fs')

fs.watch('./',{
    //递归
    recursive:true
},(eventType,filename)=>{
    console.log(eventType,filename)
})
